package com.turboconnard.android.toast;

import android.content.Context;

import com.turboconnard.data.Library;

public class Toast {
	public static void showText(String pText) {
		CharSequence c = pText;		
		show(c,android.widget.Toast.LENGTH_SHORT);
	}
	public static void showText(String pText,int duration) {
		CharSequence c = pText;		
		show(c,duration);
	}
	private static void show(CharSequence ch,int duration){
		Context context = Library.getInstance().context;
		android.widget.Toast.makeText(context, ch, duration).show();
	}
}
